package db;

import java.util.List;

import db.MoneyEntity;
import db.RecordEntity;

/**
 * Created by dllo on 17/4/13.
 */
//封装一些对加油表Record的操作
public interface TableRecordOperation {
    void addRecord(RecordEntity record);

    void removeRecord(int id);

    void updateRecord(RecordEntity car);

    List<RecordEntity> queryRecord();

    List<RecordEntity> querySelectedYearRecord();

    List<RecordEntity> querySelectedHalfYearRecord();

    List<RecordEntity> querySelectedThreeMonthsRecord();

    List<MoneyEntity> queryEachYearMoney();

    List<MoneyEntity> queryEachMonthMoney();


}
